package Shifu.MainServer.Management;

import Shifu.Login.DBInteraction;
import java.io.Serializable;

public class ReactivationDataMainServer implements Serializable {

	private FileTable filetable;	//oggetto per elencazione file
	private PeersRing ring;		//oggetto per la gestione dei peers
	private Obreros obreros;	//oggetto per la gestione dei file
	private DBInteraction db;	//oggetto per interagire con il database
	private int peernumber = 0; 	//numero dei peers presenti nell sistema

	public ReactivationDataMainServer(FileTable filetable,PeersRing ring,Obreros obreros,DBInteraction db,int peernumber) {

		this.filetable = filetable;
		this.ring = ring;
		this.obreros = obreros;
		this.db = db;
		this.peernumber = peernumber;
	}


	public FileTable getFileTable() {
		return this.filetable;
	}

	public PeersRing getPeersRing() {
		return this.ring;
	}

	public Obreros getObreros() {
		return this.obreros;
	}

	public DBInteraction getDBInteraction() {
		return this.db;
	}

	public int getpeernumber() {
		return this.peernumber;
	}
	



}
